1540s, "to trifle," of unknown origin; of the fingers, first recorded 1670s. Figurative phrase twiddle one's thumbs "have nothing to do" is recorded from 1846; to twirl one's thumbs in the same sense is recorded from 1816. Related: Twiddled; twiddling.
To waste time; be forced to sit idly and perhaps rotate one's thumbs about one another: I was anxious to help, but all I could do was twiddle my thumbs while they debated (1846+)
The tilde, a diacritical mark used especially in Spanish
verbTo change something in a small way; tweak (1980s+ Computer)